package com.demo.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购信息表
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisPurchase对象", description = "采购信息表")
public class THisPurchase {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "采购信息ID")
    @TableId(value = "purchase_id", type = IdType.AUTO)
    private Integer purchaseId;

    @ApiModelProperty(value = "医院药品关联表：hmr_id")
    private Integer medicinesId;

    @ApiModelProperty(value = "批次库存ID")
    private Integer batchesOfInventoryId;

    @ApiModelProperty(value = "采购数量")
    private Integer purchaseNum;

    @ApiModelProperty(value = "采购单位")
    private String purchaseUnit;

    @ApiModelProperty(value = "批发价")
    private BigDecimal purchaseTradePrice;

    @ApiModelProperty(value = "处方价")
    private BigDecimal purchasePrescriptionPrice;

    @ApiModelProperty(value = "采购批发总额")
    private BigDecimal purchaseTradeTotalAmount;

    @ApiModelProperty(value = "采购处方总额")
    private BigDecimal purchasePrescriptionTotalAmount;

    @ApiModelProperty(value = "创建时间")
    private Integer createTime;

    private Integer hmrId;


}
